projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8b3b4
)
gl: Do not use the extension API for core GL
author
Emmanuele Bassi
<ebassi@gnome.org>
Wed, 28 Jan 2015 19:06:37 +0000
(19:06 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 9 Feb 2015 19:10:30 +0000
(19:10 +0000)
Since we are using a Core GL profile, we need to drop the
extension-based API.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
gdk/gdkgl.c
patch
|
blob
|
history
diff --git
a/gdk/gdkgl.c
b/gdk/gdkgl.c
index 5dae9f6514255e2218766ea6fea2c0706434a55f..be3d6f428e23e1a7e7c05fa6032d839108cd80fe 100644
(file)
--- a/
gdk/gdkgl.c
+++ b/
gdk/gdkgl.c
@@
-355,7
+355,7
@@
gdk_cairo_draw_from_gl (cairo_t *cr,
if (source_type == GL_RENDERBUFFER)
{
- glBindRenderbuffer
EXT (GL_RENDERBUFFER_EXT
, source);
+ glBindRenderbuffer
(GL_RENDERBUFFER
, source);
glGetRenderbufferParameteriv (GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &alpha_size);
}
else if (source_type == GL_TEXTURE)